package com.ktg.mapper;

import com.ktg.ktgcommon.domain.TmToolType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface TmToolTypeMapper {
    public List<TmToolType> findPage(@Param("entity") TmToolType entity,
                                     @Param("offset") Integer offset,
                                     @Param("pageSize")Integer pageSize);

    public Long count();

    public List<TmToolType> maintenTypeList();

    public boolean update(TmToolType entity);

    public boolean add(TmToolType entity);

    public TmToolType findById(Long toolTypeId);

    public Integer delete(Long toolTypeId);
}
